<template>

  <router-view/>
  <!-- <XtxMessage type=error text=登陆成功></XtxMessage> -->
</template>
<script>

import { useStore } from 'vuex'
export default {
  setup () {
    const store = useStore()
    // 测试
    store.commit('user/setUser', { nickname: '大明' })
    // console.log(store.state.user.profile.nickname)
  }
}
</script>
